<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table>
        {% for re in res %}
        <tr>
            <td>{{ re.name }}</td>
            <td>{{ re.age }}</td>
        </tr>
        {% endfor %}
    </table>
</body>
</html>